package com.superb.snake;

import com.superb.util.MyJFrame;

import javax.swing.*;

/**
 * @author Superb
 * @date 2020/9/15 - 18:39
 * @E_mail superb12580@163.com
 */
public class StartGame {
    public static void main(String[] args) {
        init();
    }
    //初始化
    public static void init(){
        //绘制静态窗口
        MyJFrame myJFrame = new MyJFrame("贪吃蛇",900,800);
        myJFrame.add(new GamePanel());
        myJFrame.setVisible(true);
    }
}
